qpi-config

qpi-config is a tool for configuring the Quectel Pi M1 and Quectel Pi L1 smart mainboards, supporting the following features:

  1. Configure on-board LED operation mode;

  2. Switch between weston and gnome desktops;

  3. Query system module temperatures;

  4. Query system CPU, memory, and storage status;

  5. Configure Wi-Fi.

On-board LED Configuration

Execute the following command to configure the operation mode:

sudo qpi-config led mode <trigger>  #trigger: none | heartbeat

Desktop Configuration

Execute the following commands to switch desktops:

sudo qpi-config switch gnome  # switch to gnome desktop
sudo qpi-config switch weston # switch to weston desktop

Query System Module Temperatures

Execute the following command to query module temperatures:

sudo qpi-config dump temperature
../../_images/image_QaKubfmSjoGcvcxhJifcQnGXngd.webp

Query System CPU, Memory, and Storage Status

Execute the following command to query CPU, memory, and storage status:

sudo qpi-config dump systemusage
../../_images/image_IDIwbySZpoitToxWoWTckMldnCz.webp

Configure Wi-Fi

Execute the following command to scan Wi-Fi:

sudo qpi-config wifi scan
../../_images/image_N5D2btUwJo1YudxgN6Kc0jyXnLf.webp

Execute the following command to view existing Wi-Fi connections:

sudo qpi-config wifi show

Execute the following command to add a Wi-Fi connection:

sudo qpi-config wifi connect <ssid> <passwd>

Execute the following command to remove a Wi-Fi connection:

sudo qpi-config wifi remove <connection uuid>